﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 批号信息 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfLotInfoData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfLotInfoData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					LotValidDate= 0; 
		
			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        			if (this.LotMaster != null) 
			{
				this.LotMaster.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfLotInfoData(  System.String lotCode  , System.String disabledDatetime  , ufida.u9.ait.openapi.CopyOfBizEntityKeyData lotMaster  , System.Int32 lotValidDate  )
		{
			initData();
			this.LotCode = lotCode;
			this.DisabledDatetime = disabledDatetime;
			this.LotMaster = lotMaster;
			this.LotValidDate = lotValidDate;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 批号
		/// 批号信息 Copy.Misc.批号
		/// </summary>
		private System.String m_lotCode ;
		[DataMember(IsRequired=false)]
		public System.String LotCode
		{
			get	
			{	
				return m_lotCode ;
			}
			set	
			{	
				m_lotCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 失效日期
		/// 批号信息 Copy.Misc.失效日期
		/// </summary>
		private System.String m_disabledDatetime ;
		[DataMember(IsRequired=false)]
		public System.String DisabledDatetime
		{
			get	
			{	
				return m_disabledDatetime ;
			}
			set	
			{	
				m_disabledDatetime = value ;	
			}
		}
			
		

		/// <summary>
		/// 批号
		/// 批号信息 Copy.Misc.批号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfBizEntityKeyData m_lotMaster ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfBizEntityKeyData LotMaster
		{
			get	
			{	
				return m_lotMaster ;
			}
			set	
			{	
				m_lotMaster = value ;	
			}
		}
			
		

		/// <summary>
		/// 有效期
		/// 批号信息 Copy.Misc.有效期
		/// </summary>
		private System.Int32 m_lotValidDate ;
		[DataMember(IsRequired=false)]
		public System.Int32 LotValidDate
		{
			get	
			{	
				return m_lotValidDate ;
			}
			set	
			{	
				m_lotValidDate = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
								
		#endregion 
	} 	
}
